/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session;

import entities.FoodsItem;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import javax.ejb.Local;

/**
 *
 * @author TANGQUOCTUAN
 */
@Local
public interface AddToCartLocal {

    void addItem(Integer id);

    void removeItem(Integer id);

    void removeAll();

    public ArrayList<FoodsItem> getFooditem();

    double totalAmount();

    public int insertOrderFood(String username, double totalprice, boolean status);

    public void insertOrderDetails(int oid);
}
